export default [
    {
        path: '/',
        name: 'admin',
        component: () => import('@views/Admin.vue'),
        redirect: "MisPlatform",
        children: [
            {
                path: 'dispatchlist',
                name: '1-2',
                meta: "派遣单管理",
                component: () => import('@views/order/dispatchlist.vue')
            }, {
                path: 'orderquery',
                name: '2-2',
                meta: "联合查询",
                component: () => import('@views/order/orderquery.vue')
            },
            {
                path: 'guestmachinebind',
                name: '3-2',
                meta: "游客机关联",
                component: () => import('@views/order/guestmachinebind')
            },
            {
                path: 'ratesmanagement',
                name: "4-2",
                meta: "费率表管理",
                component: () => import('@views/order/ratesmanagement')
            },
            {
                path: 'basicdata',
                name: '6-1',
                meta: "基础信息分",
                component: () => import('@views/score/basicdata')
            }, {
                path: 'service',
                name: '6-2',
                meta: "业务分",
                component: () => import('@views/score/service')
            }, {
                path: 'starsetting',
                name: '6-3',
                meta: "星级设定",
                component: () => import('@views/score/starsetting')
            }, {
                path: 'guidescores',
                name: '6-4',
                meta: "导游总分值",
                component: () => import('@views/score/guidescores')
            },
            {
                path: 'usermessage',
                name: '1-3',
                meta: "账户管理列表",
                component: () => import('@/components/usermessage/Usermessage.vue')
            },
            {
                path: 'varcher',
                name: '1-2',
                component: () => import('@/components/varcher/Varcher.vue')
            },
            {
                path: 'news',
                name: '1-5-1',
                meta: "公告内容",
                component: () => import('@/components/news/News.vue')
            },
            {
                path: 'newslist',
                name: '2-5-1',
                meta: "公告列表",
                component: () => import('@/components/news/NewsList.vue')
            },
            {
                path: 'newssend',
                name: '3-5-1',
                meta: "公告发布",
                component: () => import('@/components/news/NewsSend.vue')
            },
            {
                path: 'touristlist',
                name: '4-5-1',
                meta: "导游信息列表",
                component: () => import('@/components/news/TouristList.vue')
            },
            {
                path: 'tourisadd',
                name: '5-5-1',
                meta: "添加导游",
                component: () => import('@/components/news/TourAdd.vue')
            },
            {
                path: "tourGuide/normal",
                name: '1-4-1',
                meta: "游客机正常",
                component: () => import('@/views/equipment/tourGuide/normal.vue'),
            },
            {
                path: "tourGuide/abnormal",
                name: '1-4-2',
                meta: "游客机异常",
                component: () => import('@/views/equipment/tourGuide/abnormal.vue')
            },
            {
                path: 'touristPlane/tourManagement',
                name: '2-4-1',
                meta: "导游机管理首页",
                component: () => import('@/views/equipment/touristPlane/tourManagement.vue'),
            },
            {
                path: 'dispatchList',
                name: '1-7',
                meta: "派遣单信息",
                component: () => import('@/views/dataAnalysis/dispatchList.vue')
            },
            {
                path: "MisPlatform",
                name: "1-1",
                meta:'数据统计',
                component: () => import("@/views/MisPlatform/index.vue")
            }
        ]
    }, {
        path: '/login',
        name: 'login',
        component: () => import('@views/Login.vue')
    }, {
        path: '/error',
        name: 'error',
        component: () => import('@views/404.vue')
    }
]